import React, { Component } from 'react';

class Header extends Component {
    constructor(props) {
        super(props)

    }
    render() {
        return (
            <div>
                <h2>头部组件</h2>
                <p>接受的数据:{this.props.count}</p>
            </div>
        );
    }
}

export default Header;